package com.xqls.service.impl;

import com.xqls.dal.dao.DischargeRealdataRecordDao;
import com.xqls.dal.model.DischargeRealdataRecord;
import com.xqls.service.DischargeRealdataRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by hdg on 2017/6/30.
 */
@Service
public class DischargeRealdataRecordServiceImpl implements DischargeRealdataRecordService {
    @Autowired
    DischargeRealdataRecordDao DischargeRealdataRecordDao;
    @Override
    public int insertList(List<DischargeRealdataRecord> dischargeList) {
        return DischargeRealdataRecordDao.insertList(dischargeList);
    }

    @Override
    public int selectId() {
        return DischargeRealdataRecordDao.selectId();
    }

    @Override
    public List<Map<String, Object>> selectByMap(Map<String, Object> map) {
        return DischargeRealdataRecordDao.selectByMap(map);
    }

    @Override
    public List<Map<String, Object>> selectAll() {
        return DischargeRealdataRecordDao.selectAll();
    }
}
